package com.howie.shirojwt.mapper;

import com.howie.shirojwt.model.SourcePath;
import com.howie.shirojwt.model.SourcePathExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface SourcePathMapper {
    int countByExample(SourcePathExample example);

    int deleteByExample(SourcePathExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SourcePath record);

    int insertSelective(SourcePath record);

    List<SourcePath> selectByExampleWithRowbounds(SourcePathExample example, RowBounds rowBounds);

    List<SourcePath> selectByExample(SourcePathExample example);

    SourcePath selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SourcePath record, @Param("example") SourcePathExample example);

    int updateByExample(@Param("record") SourcePath record, @Param("example") SourcePathExample example);

    int updateByPrimaryKeySelective(SourcePath record);

    int updateByPrimaryKey(SourcePath record);

    Long sumByExample(SourcePathExample example);

    void batchInsert(@Param("items") List<SourcePath> items);
}